dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
995a5fd
)
Made noSuchSectionPage() use mTitle
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 16 Jan 2010 07:18:16 +0000
(07:18 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 16 Jan 2010 07:18:16 +0000
(07:18 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
db2935e
..
5f6d68d
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-2046,14
+2046,14
@@
INPUTS
* they have attempted to edit a nonexistent section.
*/
function noSuchSectionPage() {
- global $wgOut
, $wgTitle
;
+ global $wgOut;
$wgOut->setPageTitle( wfMsg( 'nosuchsectiontitle' ) );
$wgOut->setRobotPolicy( 'noindex,nofollow' );
$wgOut->setArticleRelated( false );
$wgOut->addWikiMsg( 'nosuchsectiontext', $this->section );
- $wgOut->returnToMain( false, $
wg
Title );
+ $wgOut->returnToMain( false, $
this->m
Title );
}
/**